package org.yray.io.rocketmqdemo.listener;

import lombok.Data;

@Data
public class BaseMqMsg<T> {
    private MqHeader head;
    private T body;

    public static class MqHeader{
        private String trace;
    }

    public BaseMqMsg(T t)
    {
        this.body=t;
    }

}
